package Turma.Jogo;

import android.framework.*;
import android.framework.Graphics.PixmapFormat;

public class GeneralOpening extends Scene{ 
	
	Background background;
 
	public GeneralOpening(Game game)
	{
		super(game);
		background = new Background(game.getGraphics(), "bgOpening.png", PixmapFormat.ARGB4444, 0, 0);
	}

	
	@Override
	public void update(float deltaTime)
	{
		super.update(deltaTime);
		
		if(Click() == "down")
		{
			SceneManager.MudarCena();
		}
	}
	
	@Override
	public void draw(float deltaTime)
	{
		super.draw(deltaTime);
		
		background.draw(deltaTime, graphics);
	}
}
